<template>
  <div>
    <i-button size='large'
              type='success'
              @on-click='_click'>
      <i slot='icon'>^^</i>
      按钮1
    </i-button>
    <i-button disabled>按钮2</i-button>
  </div>
</template>
<script>
import { iButton } from '../../components'
export default {
  name: 'i-button-view',
  components: {
    iButton
  },
  methods: {
    _click () {
      alert('click')
    }
  }
}
</script>